package com.laivi.basic.model.syncdata;

import com.laivi.basic.model.sql.DBPool;
import com.laivi.basic.type.SyncType;

public class DestDatabase extends Database {

	private String table;
	
	private String[] fields;
	
	private SyncType type=SyncType.INCREMENTAL;
	
	public DestDatabase() {
		super();
	}

	/**
	 * @param driver
	 * @param url
	 * @param user
	 * @param password
	 */
	public DestDatabase(String url, String user, String password) {
		super( url, user, password);
	}
	
	public DestDatabase(DBPool pool){
		super(pool);
	}

	public String getTable() {
		return table;
	}

	public void setTable(String table) {
		this.table = table;
	}

	public String[] getFields() {
		return fields;
	}

	public void setFields(String[] fields) {
		this.fields = fields;
	}

	public SyncType getType() {
		return type;
	}

	public void setType(SyncType type) {
		this.type = type;
	}
}
